package com.pboc.dao;

import com.pboc.base.BaseDao;
import com.pboc.entity.SysUser;
import com.pboc.mapper.SysUserMapper;
import org.springframework.stereotype.Repository;

@Repository
public class SysUserDao extends BaseDao<SysUser, SysUserMapper,Integer> implements SysUserMapper{
    @Override
    public String getMapperNamesapce() {
        return SysUserMapper.class.getName().toString();
    }
    public SysUser getByLoginName(String loginName) {
        return getMapperByType(SysUserMapper.class).getByLoginName(loginName);
    }
}
